﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C67 RID: 3175
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NJKGAOAFDDM : IMessage<NJKGAOAFDDM>, IMessage, IEquatable<NJKGAOAFDDM>, IDeepCloneable<NJKGAOAFDDM>, IBufferMessage
	{
		// Token: 0x170027FE RID: 10238
		// (get) Token: 0x06008DF4 RID: 36340 RVA: 0x0017934D File Offset: 0x0017754D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NJKGAOAFDDM> Parser
		{
			get
			{
				return NJKGAOAFDDM._parser;
			}
		}

		// Token: 0x170027FF RID: 10239
		// (get) Token: 0x06008DF5 RID: 36341 RVA: 0x00179354 File Offset: 0x00177554
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NJKGAOAFDDMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002800 RID: 10240
		// (get) Token: 0x06008DF6 RID: 36342 RVA: 0x00179366 File Offset: 0x00177566
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NJKGAOAFDDM.Descriptor;
			}
		}

		// Token: 0x06008DF7 RID: 36343 RVA: 0x0017936D File Offset: 0x0017756D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NJKGAOAFDDM()
		{
		}

		// Token: 0x06008DF8 RID: 36344 RVA: 0x00179375 File Offset: 0x00177575
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NJKGAOAFDDM(NJKGAOAFDDM other) : this()
		{
			this.uniqueId_ = other.uniqueId_;
			this.dDELOEPNMPM_ = other.dDELOEPNMPM_;
			this.passengerId_ = other.passengerId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008DF9 RID: 36345 RVA: 0x001793B2 File Offset: 0x001775B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NJKGAOAFDDM Clone()
		{
			return new NJKGAOAFDDM(this);
		}

		// Token: 0x17002801 RID: 10241
		// (get) Token: 0x06008DFA RID: 36346 RVA: 0x001793BA File Offset: 0x001775BA
		// (set) Token: 0x06008DFB RID: 36347 RVA: 0x001793C2 File Offset: 0x001775C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint UniqueId
		{
			get
			{
				return this.uniqueId_;
			}
			set
			{
				this.uniqueId_ = value;
			}
		}

		// Token: 0x17002802 RID: 10242
		// (get) Token: 0x06008DFC RID: 36348 RVA: 0x001793CB File Offset: 0x001775CB
		// (set) Token: 0x06008DFD RID: 36349 RVA: 0x001793D3 File Offset: 0x001775D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DDELOEPNMPM
		{
			get
			{
				return this.dDELOEPNMPM_;
			}
			set
			{
				this.dDELOEPNMPM_ = value;
			}
		}

		// Token: 0x17002803 RID: 10243
		// (get) Token: 0x06008DFE RID: 36350 RVA: 0x001793DC File Offset: 0x001775DC
		// (set) Token: 0x06008DFF RID: 36351 RVA: 0x001793E4 File Offset: 0x001775E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PassengerId
		{
			get
			{
				return this.passengerId_;
			}
			set
			{
				this.passengerId_ = value;
			}
		}

		// Token: 0x06008E00 RID: 36352 RVA: 0x001793ED File Offset: 0x001775ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NJKGAOAFDDM);
		}

		// Token: 0x06008E01 RID: 36353 RVA: 0x001793FC File Offset: 0x001775FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NJKGAOAFDDM other)
		{
			return other != null && (other == this || (this.UniqueId == other.UniqueId && this.DDELOEPNMPM == other.DDELOEPNMPM && this.PassengerId == other.PassengerId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008E02 RID: 36354 RVA: 0x00179458 File Offset: 0x00177658
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.UniqueId != 0U)
			{
				num ^= this.UniqueId.GetHashCode();
			}
			if (this.DDELOEPNMPM != 0U)
			{
				num ^= this.DDELOEPNMPM.GetHashCode();
			}
			if (this.PassengerId != 0U)
			{
				num ^= this.PassengerId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008E03 RID: 36355 RVA: 0x001794C9 File Offset: 0x001776C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008E04 RID: 36356 RVA: 0x001794D1 File Offset: 0x001776D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008E05 RID: 36357 RVA: 0x001794DC File Offset: 0x001776DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PassengerId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.PassengerId);
			}
			if (this.DDELOEPNMPM != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.DDELOEPNMPM);
			}
			if (this.UniqueId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.UniqueId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008E06 RID: 36358 RVA: 0x00179554 File Offset: 0x00177754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.UniqueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.UniqueId);
			}
			if (this.DDELOEPNMPM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DDELOEPNMPM);
			}
			if (this.PassengerId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PassengerId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008E07 RID: 36359 RVA: 0x001795C4 File Offset: 0x001777C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NJKGAOAFDDM other)
		{
			if (other == null)
			{
				return;
			}
			if (other.UniqueId != 0U)
			{
				this.UniqueId = other.UniqueId;
			}
			if (other.DDELOEPNMPM != 0U)
			{
				this.DDELOEPNMPM = other.DDELOEPNMPM;
			}
			if (other.PassengerId != 0U)
			{
				this.PassengerId = other.PassengerId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008E08 RID: 36360 RVA: 0x00179628 File Offset: 0x00177828
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008E09 RID: 36361 RVA: 0x00179634 File Offset: 0x00177834
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 48U)
					{
						if (num != 80U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.UniqueId = input.ReadUInt32();
						}
					}
					else
					{
						this.DDELOEPNMPM = input.ReadUInt32();
					}
				}
				else
				{
					this.PassengerId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003627 RID: 13863
		private static readonly MessageParser<NJKGAOAFDDM> _parser = new MessageParser<NJKGAOAFDDM>(() => new NJKGAOAFDDM());

		// Token: 0x04003628 RID: 13864
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003629 RID: 13865
		public const int UniqueIdFieldNumber = 10;

		// Token: 0x0400362A RID: 13866
		private uint uniqueId_;

		// Token: 0x0400362B RID: 13867
		public const int DDELOEPNMPMFieldNumber = 6;

		// Token: 0x0400362C RID: 13868
		private uint dDELOEPNMPM_;

		// Token: 0x0400362D RID: 13869
		public const int PassengerIdFieldNumber = 2;

		// Token: 0x0400362E RID: 13870
		private uint passengerId_;
	}
}
